package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.mingqijia.gassafety.db.entity.BaseEntity;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author li.shiying
 * @since 2023-09-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_gss_feedback")
@ApiModel(value="Feedback对象", description="")
public class Feedback extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "回复状态 1-已回复 0-未回复")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "意见反馈")
    @TableField("comment")
    private String comment;

    @ApiModelProperty(value = "回复详情")
    @TableField("reply")
    private String reply;

    @ApiModelProperty(value = "反馈人账号")
    @TableField("feedback_account")
    private String feedbackAccount;

    @ApiModelProperty(value = "回复人账号")
    @TableField("reply_account")
    private String replyAccount;

    @ApiModelProperty(value = "回复时间")
    @TableField("reply_time")
    private Date replyTime;

    @ApiModelProperty(value = "是否删除，1-删除，0-未删除")
    @TableField("is_deleted")
    private Boolean isDeleted;

    @ApiModelProperty(value = "查看状态，1-查看 ,0-未查看")
    @TableField("check_status")
    private Integer checkStatus;

    @ApiModelProperty(value = "组织id")
    @TableField("sp_id")
    private String spId;


}
